const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({transpileDependencies:true,
  devServer : {
      hot:true,//自动保存
      open : true,//自动启动
      port : 8080,//默认端口号
      host : "0.0.0.0",
      proxy:{
          '/api':{
            target:'http://localhost:5006',
            chaneOrigin:true,
            pathRewrite:{}
          },
          '/authorizationapi':{
            target:'http://localhost:5006',
            chaneOrigin:true,
            pathRewrite:{}
          }
      }
  }
}) 